import pygame


class Music:
    def __init__(self, music_file: str):
        self.music = pygame.mixer.Sound(music_file)

    def play(self):
        self.music.play()

    def stop(self):
        self.music.stop()

    def pause(self):
        pygame.mixer.pause()
